const GoodsItem = {
  name: "GoodsItem",
  props:['item'],
  template: `
  <div class="col-lg-3 col-sm-6 col-md-3">
    <a :href="item.href">
      <div class="box-img">
        <h4>{{item.title}}</h4>
        <img :src="item.img" alt="" />
      </div>
    </a>
  </div>
  `,
  created(){
    console.log(this.item);
  }
}
export default GoodsItem